class TransportadorasController < ApplicationController
    active_scaffold :transportadora do |config|
    config.label = "Transportadoras"

    config.columns = [:nome]

    config.theme = :blue
    config.columns[:nome].description = "Nome"

    config.columns[:nome].label = "NOME"
    config.list.sorting = [{:id => 'DESC'}]

    config.list.per_page = Setting.new.qtd_porpagina

    config.create.link.label = "NOVO"
    config.search.link.label = "BUSCA"
    config.update.link.label = "E"
    config.show.link.label = "S"
    config.delete.link.label = "D"
    config.delete.link.confirm = "Apagar?"

    config.actions.exclude :search
  end
end
